package com.zhuoshi.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.zhuoshi.entity.User;
public interface UserDao {
	
	//添加
	public int  addUser(User user);
	
	public int  updateUser(User user);
	
	public int  deleteUser(User user);
	
	public int  findUser(User user);
	
   //查询
	public List<User> selectUserbyName(@Param("name") String name);

	public User selectUserbyId(@Param("id")Integer id);

	
}
